package com.kun.jdktimer;

import java.util.Timer;

/**
 * @author fangkun
 * @create 2022-04-15-9:18
 */
public class TestTimer {
    public static void main(String[] args) {
        Timer timer = new Timer();
        TestTimerTask task = new TestTimerTask();
        timer.schedule(task,5000L,1000L);
    }
}
